#include"appointment_row.h"

#include<sstream>

using namespace std;
using namespace uhdpbs::db;

namespace uhdpbs {
	namespace generated {
		appointment_row::appointment_row(row& r) : row(r.get_originals(), r.get_table()) {
			this->mChanges = r.get_changes();
		}
		appointment_row::appointment_row(string_string_map originals, table* tbl) : row(originals, tbl) {}
		appointment_row::~appointment_row() {}

		string appointment_row::get_id() { return get_value("id"); }
		void appointment_row::set_id(string val) { set_value("id", val); }
		string appointment_row::get_date() { return get_value("date"); }
		void appointment_row::set_date(string val) { set_value("date", val); }
		string appointment_row::get_start() { return get_value("start"); }
		void appointment_row::set_start(string val) { set_value("start", val); }
		string appointment_row::get_stop() { return get_value("stop"); }
		void appointment_row::set_stop(string val) { set_value("stop", val); }
		string appointment_row::get_patient_id() { return get_value("patient_id"); }
		void appointment_row::set_patient_id(string val) { set_value("patient_id", val); }
		string appointment_row::get_practitioner_id() { return get_value("practitioner_id"); }
		void appointment_row::set_practitioner_id(string val) { set_value("practitioner_id", val); }
	}
}
